import "./index.scss";
export default defineComponent({
	props: {
		//加载文字
		text: String
	},
	setup(props) {
		return () => {
			return (
				<div class="loading-v2">
					<div class="animbox">
						<div></div>
						<div></div>
						<div></div>
						<div></div>
						<div></div>
					</div>
					<div class="text">
						{props.text || "正在加載中..."}
						<span class="progress"></span>
					</div>
				</div>
			);
		};
	}
});
